package com.huang.weic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huang.weic.bean.Food;
import com.huang.weic.bean.Play;
import com.huang.weic.mapper.FoodMapper;
import com.huang.weic.mapper.PlayMapper;
import com.huang.weic.service.FoodService;
import com.huang.weic.service.PlayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FoodServiceImpl extends ServiceImpl<FoodMapper, Food> implements FoodService {
    @Autowired
    private FoodMapper foodMapper;
    @Override
    public List<Food> selectList() {
        List<Food> foodList = foodMapper.selectList(null);
        return foodList;
    }
}
